import { request } from "@/utils/service"

// 审批分页条件查询查询
export function findAuditsByPage(data) {
  return request({
    url: "/sjw_department_control/cockpitMetricsTree/findAuditsByPage",
    method: "post",
    data: data
  })
}

// 审批详情
export function findAuditsDetails(data) {
  return request({
    url: "/sjw_department_control/cockpitMetricsTree/findAuditsDetails",
    method: "post",
    data: data
  })
}

// 审批（通过/驳回）
export function audits(data) {
  return request({
    url: "/sjw_department_control/cockpitMetricsTree/audits",
    method: "post",
    data: data
  })
}
